package Demo06;

import java.util.Random;

public class Demo06Random {
    public static void main(String[] args) {
        Random r = new Random();
        int t = r.nextInt(15);
        System.out.println("生成的随机数字为：" + t);
        for (int i = 0; i <= 100; ++i){
            int a = r.nextInt(15);
            System.out.println(a);
        }

    }
}
